luci-mod-status,luci-mod-network: support oui to vendor resolving
authorChristian Korber <[email protected]>
Wed, 10 Sep 2025 06:30:22 +0000 (08:30 +0200)
committerPaul Donald <[email protected]>
Thu, 25 Sep 2025 11:25:33 +0000 (13:25 +0200)
commit70b7176fc2547e3de1fa3139d0e25adfd3fcd66e
tree06e76104366ce4db2d3b1b251ba3eed7c405cf87
parentc27c0c98749aa1d5524ffabd7beeb2c4fedcfe84
luci-mod-status,luci-mod-network: support oui to vendor resolving

For easier definition of connected devices, this commit adds support
to identify them by vendor name.

Package `upf-neigh` is needed to lookup the vendor name in a hash table.
It implements a ubus-call `ubus call fingerprint fingerprint`:

```
root@<redacted> ~ # ubus call fingerprint fingerprint
{
        "7c:c2:55:XX:XX:XX": {
                "vendor": "Super Micro Computer, Inc."
        }
}
```

Fixes: #2065
Depends on: openwrt/packages#27257

Signed-off-by: Christian Korber <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
modules/luci-mod-network/root/usr/share/rpcd/acl.d/luci-mod-network.json
modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js
modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json